package com.project.server.pojo.estates;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.project.common.annotation.Excel;
import com.project.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayRecordPojo extends BaseEntity {

    private static final long serialVersionUID = -4219187386658071122L;

    /**
     * 缴费单号
     */
    @Excel(name = "缴费单号")
    private String payOrder;

    /**
     * 企业名称
     */
    @Excel(name = "企业名称")
    private String compName;

    /**
     * 财务姓名
     */
    @Excel(name = "财务姓名")
    private String userName;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String userPhone;

    /**
     * 应缴金额
     */
    @Excel(name = "应缴金额")
    private BigDecimal pay;

    /**
     * 缴费时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "缴费时间(yyyy-MM-dd HH:mm)", dateFormat = "yyyy-MM-dd HH:mm")
    private Date payTime;

    /**
     * 缴费类型
     */
    private String ruleType;

    /**
     * 缴费状态（0代表已交 2代表未交）
     */
    @Excel(name = "缴费状态（0代表已交 2代表未交）", readConverterExp = "0=已交,2=未交")
    private String payStatus;
}
